import { request } from '/@/utils/http/axios';

// 质检教师评阅详情列表
export const paperInfoByKm = (params) => {
  return request({
    url: '/cj/paperInfoByKm',
    method: 'GET',
    params,
  });
};

// 题型总览父级

export const sjList = (params) => {
  return request({
    url: '/cj/sjList',
    method: 'GET',
    params,
  });
};

// 题型总览父级 userId
export const sjListByUserId = (params) => {
  return request({
    url: 'yzb/ptSjList',
    method: 'GET',
    params,
  });
};

// 题型总览子级
export const getTopics = (params) => {
  return request({
    url: '/cj/getTopics',
    method: 'GET',
    params,
  });
};

// 试卷基本信息

export const getPaperInfo = (kssj) => {
  return request({
    url: `/cj/paperInfo/${kssj}`,
    method: 'GET',
  });
};

// 题目评阅列表

export const getTopicMarkingInfo = (params) => {
  //
  return request({
    url: `/cj/topicMarkingInfo`,
    method: 'GET',
    params,
  });
};


//质检教师-评阅教师阅卷进度
export const pjlsProgress = (rw) => {
  return request({
    url: `/cj/pjlsProgress/${rw}`,
    method: 'GET',
  });
};

export const SpPjlsProgress = (rw) => {
  return request({
    url: `/cj/sPpjlsProgress/${rw}`,
    method: 'GET',
  });
};


// 评阅教师详情-教师评阅详情
export const getSfdReviewTeacDetail = (params) => {
  return request({
    url: `/pyLsXx/findStLxDetailByStLx`,
    method: 'GET',
    params,
  });
};


// 评阅教师详情-教师评阅详情
export const getfindHadPaperList = (params) => {
  return request({
    url: `/pyLsXx/findStLxDetailByStLxForList`,
    method: 'GET',
    params,
  });
};
